package com.linln.modules.userule.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;



/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-04-10 16:50:51
 */
@Data
@TableName(value = "tbl_vehicle_scan")
public class VehicleScanDO implements Serializable {
	//
	@TableId(value = "vehicle_scan_id", type = IdType.UUID)
	private String vehicleScanId;
	//
	@TableField(value = "plate")
	private String plate;
	//
	@TableField(value = "vehicle_type")
	private String vehicleType;
	//
	@TableField(value = "owner_name")
	private String ownerName;
	//
	@TableField(value = "owner_addr")
	private String ownerAddr;
	//
	@TableField(value = "use_type")
	private String useType;
	//
	@TableField(value = "model_type")
	private String modelType;
	//
	@TableField(value = "vin")
	private String vin;
	//
	@TableField(value = "engine_no")
	private String engineNo;
	//
	@TableField(value = "reg_date")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date regDate;
	//
	@TableField(value = "cert_date")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date certDate;

}
